package com.aboo.web.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.aboo.web.common.domain.Page;
import com.aboo.web.domain.PersonPO;

@Repository
public interface PersonMapper {

	public void insertPerson(@Param("param") PersonPO param);
	
	public void deletePerson(@Param("id") Long id);
	
	public void deletePersonList(@Param("ids") String ids);
	
	public List<PersonPO> selectPersonList(@Param("param") PersonPO param, @Param("page") Page page);
	
	public Long selectPersonCount(@Param("param") PersonPO param);
	
	public PersonPO selectPersonByKey(@Param("id") Long id);
	
	public void updatePerson(@Param("param") PersonPO param);
	
}
